package com.crr.service.impl;


import com.crr.bean.ProductCategory;
import com.crr.common.crud.BaseServiceImpl;
import com.crr.mapper.ProductCategoryMapper;
import com.crr.service.ProductCategoryService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ProductCategoryServiceImpl extends BaseServiceImpl<ProductCategory, ProductCategoryMapper> implements ProductCategoryService {

    @Override
    public List<Map> queryAll() {
        return baseMapper.queryChildren(0);
    }
}
